<template>
  <main>
    <h1>Login</h1>
    <button @click="loginok">登录</button>
  </main>
</template>

<script setup>
import { useRouter } from 'vue-router'
//
const router = useRouter()

const loginok = () => {
  router.push({ name: 'grid' })
}
</script>
